package Year2021.month10.Day21.Day29Interface;

public class SolidStateHardDisk implements HardDisk {
    private int capacity;

    public SolidStateHardDisk(int capacity) {
        this.capacity = capacity;
    }

    public int getCapacity() {
        return capacity;
    }

    public void setCapacity(int capacity) {
        this.capacity = capacity;
    }

    @Override
    public int show() {
        return capacity;

    }

}
